package bysj.domain;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Collection;

@Setter
@Getter
@AllArgsConstructor
public class ApplicationForSupervisor implements Comparable<ApplicationForSupervisor>, Serializable {
    private Collection<ApplicationForSupervisorEntry> applicationForSupervisorEntries;
    private Integer id;
    private String selfIntroduction;
    private Student student;
    private int year;
    @Override
    public int compareTo(ApplicationForSupervisor o) {
        return this.id-o.id;
    }
}
